PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Automata / the ultimate preset - barn svallow nz.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.990 |
| 8 | fDecay=0.980 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=1 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=1 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=100.000 |
| 26 | fWaveScale=0.730 |
| 27 | fWaveSmoothing=0.900 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.500 |
| 30 | fModWaveAlphaEnd=1.000 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.000 |
| 33 | fZoomExponent=1.00016 |
| 34 | fShader=1.000 |
| 35 | zoom=1.00022 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.00000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.500 |
| 45 | wave_g=0.500 |
| 46 | wave_b=0.500 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.100 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.150 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=0.000 |
| 60 | nMotionVectorsY=0.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=0 |
| 128 | shapecode_0_sides=4 |
| 129 | shapecode_0_additive=0 |
| 130 | shapecode_0_thickOutline=0 |
| 131 | shapecode_0_textured=0 |
| 132 | shapecode_0_num_inst=1 |
| 133 | shapecode_0_x=0.500 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=0.10000 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=1.00000 |
| 139 | shapecode_0_r=1.000 |
| 140 | shapecode_0_g=0.000 |
| 141 | shapecode_0_b=0.000 |
| 142 | shapecode_0_a=1.000 |
| 143 | shapecode_0_r2=0.000 |
| 144 | shapecode_0_g2=1.000 |
| 145 | shapecode_0_b2=0.000 |
| 146 | shapecode_0_a2=0.000 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=1.000 |
| 150 | shapecode_0_border_a=0.100 |
| 151 | shapecode_1_enabled=0 |
| 152 | shapecode_1_sides=4 |
| 153 | shapecode_1_additive=0 |
| 154 | shapecode_1_thickOutline=0 |
| 155 | shapecode_1_textured=0 |
| 156 | shapecode_1_num_inst=1 |
| 157 | shapecode_1_x=0.500 |
| 158 | shapecode_1_y=0.500 |
| 159 | shapecode_1_rad=0.10000 |
| 160 | shapecode_1_ang=0.00000 |
| 161 | shapecode_1_tex_ang=0.00000 |
| 162 | shapecode_1_tex_zoom=1.00000 |
| 163 | shapecode_1_r=1.000 |
| 164 | shapecode_1_g=0.000 |
| 165 | shapecode_1_b=0.000 |
| 166 | shapecode_1_a=1.000 |
| 167 | shapecode_1_r2=0.000 |
| 168 | shapecode_1_g2=1.000 |
| 169 | shapecode_1_b2=0.000 |
| 170 | shapecode_1_a2=0.000 |
| 171 | shapecode_1_border_r=1.000 |
| 172 | shapecode_1_border_g=1.000 |
| 173 | shapecode_1_border_b=1.000 |
| 174 | shapecode_1_border_a=0.100 |
| 175 | shapecode_2_enabled=0 |
| 176 | shapecode_2_sides=4 |
| 177 | shapecode_2_additive=0 |
| 178 | shapecode_2_thickOutline=0 |
| 179 | shapecode_2_textured=0 |
| 180 | shapecode_2_num_inst=1 |
| 181 | shapecode_2_x=0.500 |
| 182 | shapecode_2_y=0.500 |
| 183 | shapecode_2_rad=0.10000 |
| 184 | shapecode_2_ang=0.00000 |
| 185 | shapecode_2_tex_ang=0.00000 |
| 186 | shapecode_2_tex_zoom=1.00000 |
| 187 | shapecode_2_r=1.000 |
| 188 | shapecode_2_g=0.000 |
| 189 | shapecode_2_b=0.000 |
| 190 | shapecode_2_a=1.000 |
| 191 | shapecode_2_r2=0.000 |
| 192 | shapecode_2_g2=1.000 |
| 193 | shapecode_2_b2=0.000 |
| 194 | shapecode_2_a2=0.000 |
| 195 | shapecode_2_border_r=1.000 |
| 196 | shapecode_2_border_g=1.000 |
| 197 | shapecode_2_border_b=1.000 |
| 198 | shapecode_2_border_a=0.100 |
| 199 | shapecode_3_enabled=0 |
| 200 | shapecode_3_sides=4 |
| 201 | shapecode_3_additive=0 |
| 202 | shapecode_3_thickOutline=0 |
| 203 | shapecode_3_textured=0 |
| 204 | shapecode_3_num_inst=1 |
| 205 | shapecode_3_x=0.500 |
| 206 | shapecode_3_y=0.500 |
| 207 | shapecode_3_rad=0.10000 |
| 208 | shapecode_3_ang=0.00000 |
| 209 | shapecode_3_tex_ang=0.00000 |
| 210 | shapecode_3_tex_zoom=1.00000 |
| 211 | shapecode_3_r=1.000 |
| 212 | shapecode_3_g=0.000 |
| 213 | shapecode_3_b=0.000 |
| 214 | shapecode_3_a=1.000 |
| 215 | shapecode_3_r2=0.000 |
| 216 | shapecode_3_g2=1.000 |
| 217 | shapecode_3_b2=0.000 |
| 218 | shapecode_3_a2=0.000 |
| 219 | shapecode_3_border_r=1.000 |
| 220 | shapecode_3_border_g=1.000 |
| 221 | shapecode_3_border_b=1.000 |
| 222 | shapecode_3_border_a=0.100 |
| 223 | per_frame_1=// timed sidon sensor |
| 224 | per_frame_2=// le = signal level; desired average value = 2 |
| 225 | per_frame_3=le=1.4*bass_att+.1*bass+.5*treb; |
| 226 | per_frame_4=pulse=above(le,th); |
| 227 | per_frame_5=// pulsefreq = running average of interval between last 5 pulses |
| 228 | per_frame_6=pulsefreq=if(equal(pulsefreq,0),2, |
| 229 | per_frame_7=if(pulse,.8*pulsefreq+.2*(time-lastpulse),pulsefreq)); |
| 230 | per_frame_8=lastpulse=if(pulse,time,lastpulse); |
| 231 | per_frame_9=// bt = relative time; 0 = prev beat; 1 = expected beat |
| 232 | per_frame_10=bt=(time-lastbeat)/(.5*beatfreq+.5*pulsefreq); |
| 233 | per_frame_11=// hccp = handcicap for th driven by bt |
| 234 | per_frame_12=hccp=(.03/(bt+.2))+.5*if(band(above(bt,.8),below(bt,1.2)), |
| 235 | per_frame_13=(pow(sin((bt-1)*7.854),4)-1),0); |
| 236 | per_frame_14=beat=band(above(le,th+hccp),btblock); |
| 237 | per_frame_15=btblock=1-above(le,th+hccp); |
| 238 | per_frame_16=lastbeat=if(beat,time,lastbeat); |
| 239 | per_frame_17=beatfreq=if(equal(beatfreq,0),2, |
| 240 | per_frame_18=if(beat,.8*beatfreq+.2*(time-lastbeat),beatfreq)); |
| 241 | per_frame_19=// th = threshold |
| 242 | per_frame_20=th=if(above(le,th),le+114/(le+10)-7.407, |
| 243 | per_frame_21=th+th*.07/(th-12)+below(th,2.7)*.1*(2.7-th)); |
| 244 | per_frame_22=th=if(above(th,6),6,th); |
| 245 | per_frame_23= |
| 246 | per_frame_24=q8=10/fps; |
| 247 | per_frame_25=ccl=ccl+beat; |
| 248 | per_frame_26=minorccl=minorccl+q8*le; |
| 249 | per_frame_27= |
| 250 | per_frame_28=q5=ccl+.0032*minorccl; |
| 251 | per_frame_29=q6=ccl; |
| 252 | per_frame_30= |
| 253 | per_frame_31=ccx=if(beat,.5+.2*sin(int(rand(354))),ccx); |
| 254 | per_frame_32=cx=ccx+.1*sin(.01*minorccl); |
| 255 | per_frame_33=q1=ccx; |
| 256 | per_frame_34=ccy=if(beat,.5+.2*sin(int(rand(354))),ccy); |
| 257 | per_frame_35=cy=ccx+.1*sin(.013*minorccl); |
| 258 | per_frame_36=q2=ccy; |
| 259 | per_frame_37=q3=4/th; |
| 260 | per_frame_38=q4=.01*minorccl; |
| 261 | per_frame_39=q7=th; |
| 262 | per_frame_40= |
| 263 | per_frame_41=decay=1-q8*.02; |
| 264 | per_frame_42=monitor=decay; |
| 265 | per_frame_43= |
| 266 | per_frame_44= |
| 267 | per_frame_45=wx=if(pulse,int(rand(10))*.1,wx); |
| 268 | per_frame_46=wave_x=wx; |
| 269 | per_frame_47=wy=if(pulse,int(rand(10))*.1,wy); |
| 270 | per_frame_48=wave_y=wy; |
| 271 | per_frame_49=wm=if(pulse,int(rand(20))*.1-1,wm); |
| 272 | per_frame_50=wave_mystery=wm; |
| 273 | per_frame_51= |
| 274 | per_frame_52=mv_r=.5+.2*sin(q5)+.3*sin(q5*36.2); |
| 275 | per_frame_53=mv_g=.5+.2*sin(q5+2.09)+.3*sin(q5*38.7); |
| 276 | per_frame_54=mv_b=.5+.2*sin(q5+4.18)+.3*sin(q5*37.4); |
| 277 | per_frame_55=wave_r=.5+.5*sin(q5*36.2); |
| 278 | per_frame_56=wave_g=.5+.5*sin(q5*38.7); |
| 279 | per_frame_57=wave_b=.5+.5*sin(q5*37.4); |
| 280 | per_pixel_1=// coordinates transfomation |
| 281 | per_pixel_2=// q1,q2 = position; q3 = 1/zoom; q4 = rotation |
| 282 | per_pixel_3=aang=atan2(y-q2,x-q1)+q4; |
| 283 | per_pixel_4=arad=sqrt(sqr(y-q2)+sqr(x-q1))*q3; |
| 284 | per_pixel_5= |
| 285 | per_pixel_6=radsector=(arad*4)%3; |
| 286 | per_pixel_7=angsector=(aang*1.273)%8; |
| 287 | per_pixel_8= |
| 288 | per_pixel_9=zoom=1+q8*.1*sin(14*(angsector%4)*q6+radsector*q5); |
| 289 | per_pixel_10=rot=.1*q8*sin(q7)*sin(1.3*angsector*q5+2.7*radsector*q6); |
| 290 | warp_1=`shader_body |
| 291 | warp_2=`{ |
| 292 | warp_3=`//ret=GetPixel(uv_orig+texsize.zw*float2(q6,q7)); |
| 293 | warp_4=`float2 newuv=uv; |
| 294 | warp_5=`ret=GetPixel(newuv); |
| 295 | warp_6=`float3 lum1=0,lum2=0,lum3=0,lum4=0,lum5=0,lum6=0,lum7=0,lum8=0; |
| 296 | warp_7=`float3 mxv=0; |
| 297 | warp_8=`float r=8; |
| 298 | warp_9=`//Blur1: r=4 (pixels); |
| 299 | warp_10=`//Blur2: r=8 (pixels); |
| 300 | warp_11=`//Blur3: r=9 (pixels); |
| 301 | warp_12=`float ro=0.707106*r; |
| 302 | warp_13=`texsize.zw*r; |
| 303 | warp_14=`lum1=GetBlur2(newuv+texsize.zw*float2(1,0)); |
| 304 | warp_15=`lum2=GetBlur2(newuv+texsize.zw*float2(0,1)); |
| 305 | warp_16=`lum3=GetBlur2(newuv+texsize.zw*float2(-1,0)); |
| 306 | warp_17=`lum4=GetBlur2(newuv+texsize.zw*float2(0,-1)); |
| 307 | warp_18=`lum5=GetBlur2(newuv+texsize.zw*float2(ro,-ro)); |
| 308 | warp_19=`lum6=GetBlur2(newuv+texsize.zw*float2(-ro,ro)); |
| 309 | warp_20=`lum7=GetBlur2(newuv+texsize.zw*float2(ro,ro)); |
| 310 | warp_21=`lum8=GetBlur2(newuv+texsize.zw*float2(-ro,-ro)); |
| 311 | warp_22=`mxv=abs(lum1-lum2+lum3-lum4+lum5-lum6+lum7-lum8)*0.5; |
| 312 | warp_23=`ret*=mxv+0.99; |
| 313 | warp_24=`ret=ret-mxv*2+0.1+0.1*(0.15-tex2D(sampler_noise_lq,uv*rand_frame.xy*9))-0.1*GetBlur1(uv); |
| 314 | warp_25=`float4 noise2 = tex3D(sampler_noisevol_hq, |
| 315 | warp_26=` ((uv.xyy |
| 316 | warp_27=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 317 | warp_28=` ).xyz* |
| 318 | warp_29=` float3(1,1,0)*0.05 + |
| 319 | warp_30=` time*float3(0,0,1)*0.4 |
| 320 | warp_31=` ); |
| 321 | warp_32=`ret *= (noise2)*2; |
| 322 | warp_33=`} |
| 323 | comp_1=`shader_body |
| 324 | comp_2=`{ |
| 325 | comp_3=` |
| 326 | comp_4=`float2 ac = float2(q11,q12); |
| 327 | comp_5=`float2 mu = float2(q13,q14); |
| 328 | comp_6=`float2 c = float2(q15,q16); |
| 329 | comp_7=`float2 d = float2(q17,q18); |
| 330 | comp_8=` |
| 331 | comp_9=`float2 z = (uv-0.5)*aspect.xy; |
| 332 | comp_10=` |
| 333 | comp_11=`// (c*z + d) |
| 334 | comp_12=`float2 czd = float2(z.x*c.x-z.y*c.y,z.x*c.y-z.y*c.x) + d; |
| 335 | comp_13=`// mu/(cz+d) |
| 336 | comp_14=`float2 moebius = float2( mu.x*czd.x + mu.y*czd.y , mu.y*czd.x-mu.x*czd.y )/(czd.x*czd.x+czd.y*czd.y) + ac; |
| 337 | comp_15=` |
| 338 | comp_16=`moebius*=0.5; |
| 339 | comp_17=`float l = length(moebius); |
| 340 | comp_18=`moebius = 0.5 + (1.0 - abs( frac( moebius * 0.5 ) * 2 - 1.0 )-0.5)*0.95; |
| 341 | comp_19=` |
| 342 | comp_20=`float2 uvr = 0.5 + (uv-0.5)*0.2; |
| 343 | comp_21=` |
| 344 | comp_22=`ret = GetPixel(uvr).z*float3(0.4,0,0.7); |
| 345 | comp_23=`ret = lerp(ret,float3(0,1,1),saturate(tex2d(sampler_fc_main,moebius).y))*(1.4-pow(l*0.8,0.3)); |
| 346 | comp_24=`ret = lerp(ret,float3(4,1,0),saturate(tex2d(sampler_fc_main,uvr).y-tex2d(sampler_pc_main,uvr).y)*4*(l*l)); |
| 347 | comp_25=`ret = lerp(ret,-4,GetPixel(uvr).x); |
| 348 | comp_26=`ret = lerp(ret,2,tex2d(sampler_pc_main,uvr).x*0.75); |
| 349 | comp_27=`//ret = GetPixel(uv); |
| 350 | comp_28=`float4 noise2 = tex3D(sampler_noisevol_hq, |
| 351 | comp_29=` ((uvr.xyy |
| 352 | comp_30=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 353 | comp_31=` ).xyz* |
| 354 | comp_32=` float3(1,1,0)*0.05 + |
| 355 | comp_33=` time*float3(0,0,1)*0.4 |
| 356 | comp_34=` ); |
| 357 | comp_35=`ret -= (noise2)*.5; |
| 358 | comp_36=`} |